import Mock from 'mockjs';
export default [
  {
    type: 'POST',
    url: '/host/cloud/vehicle/vehicleInfo',
    response: () => {
      return Mock.mock({
        "retCode": '0000_0',
        "retMessage": '执行成功',
        "data": {
          "type|2-10": 'x',
          "vehId|10000-99999": 23678,
          "avaSpeed|30-100": 40,
          "travelTime|1-1440": 320
        }
      })
    }
  },
  {
    type: 'POST',
    url: '/host/cloud/vehicle/speed',
    response: () => {
      return Mock.mock({
        "retCode": '0000_0',
        "retMessage": '执行成功',
        "data|24": [
          {
            "timePoint|+1": ['00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00', '22:00', '23:00'],
            "value|1-100": 100
          }
        ]
      })
    }
  },
  {
    type: 'POST',
    url: '/host/cloud/vehicle/behavior',
    response: () => {
      return Mock.mock({
        "retCode": '0000_0',
        "retMessage": '执行成功',
        "data|6": [
          {
            "behavior|+1": ['平稳驾驶', '快速起步', '急刹', '急转弯', '超速', '急加速'],
            "value|10-100": 100,
            "id|+1": 0
          }
        ]
      })
    }
  }
]